'use strict';

const Controller = require('egg').Controller;

class BlogController extends Controller {
    async create() {
        this.ctx.body = '创建'
    }
    async update(){
        this.ctx.body = '更新'
    }
    async destroy(){
        this.ctx.body = '删除'
    }
    async index(){
        this.ctx.body = '查询'
    }
    async show(){
        this.ctx.body = '详情'
    }
}

module.exports = BlogController;
